<?php


namespace Soen\Array_Package\Box;

use PhpParser\Node\Scalar\String_;

class StringBox implements BoxInterface
{
    public $value;
    public function __construct($value, ...$params)
    {
        $this->pack($value, ...$params);
    }
    
    public function pack($value, ...$params)
    {
        $this->value = new String_($value);
    }

    public function getBox()
    {
        return $this->value;
    }
}